package com.luo.service;

import com.luo.dao.impl.DetailsDaoImpl;
import com.luo.model.GoodPictures;
import com.luo.model.Properties;

import java.util.List;

/**
 * 功能：
 * 作者：Luo。
 * 日期：2024/1/22 19:57
 */
public class DetailsService {

    DetailsDaoImpl detailsDao = new DetailsDaoImpl();

    public List<Properties> queryPropByGoodId(String id) {
        List<Properties> properties = detailsDao.queryPropByGoodId(id);
        return properties;
    }

    public List<GoodPictures> queryIntroducePicture(String id) {
        List<GoodPictures> goodPictures = detailsDao.queryIntroducePicture(id);
        return goodPictures;
    }
}
